调用:
<input type="hidden" name="content" id="content">
<iframe src="Edit/editor.htm?id=content&ReadCookie=0" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" width="700" height="460"></iframe>

注意:id为调用参数(小写),即隐藏的内容表单项id, ReadCookie设置是否读取上次未提交的数据,1为开启,0为关闭(注意大小写)。


代码整理:站点基地 

*尊重他人劳动成果,转载请自觉注明出处!注:此代码仅供学习交流,请勿用于商业用途。

调用:

<input type="hidden" name="content" id="content">
<iframe src="Edit/editor.htm?id=content&ReadCookie=0" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" width="700" height="460"></iframe>

注意:id为调用参数(小写),即隐藏的内容表单项id, ReadCookie设置是否读取上次未提交的数据,1为开启,0为关闭(注意大小写)。

在上次修复的基础上增加了一个附件上传功能,但还是有几个不理想的地方。

缺陷:
1缺乏安全判断(上一版也有这个问题)
2附件上传后,插入编辑器的样式很难看。
3缺清除格式功能

* 修改者:mawendong  提取者:不详 源代码开发者:sina某技术员